package com.yoda.mall.mysql.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yoda.mall.api.HomeRecommendSubjectApi;
import com.yoda.mall.model.entity.sms.HomeRecommendSubject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shawn
 * @date 2022年 12月 17日 11:13
 */
public interface HomeRecommendSubjectMapper extends BaseMapper<HomeRecommendSubject> {

    Integer saveBatch(List<HomeRecommendSubject> homeRecommendSubjects);

    void updateRecommendSubjectStatus(@Param("ids") List<Long> ids,@Param("recommendStatus") Integer recommendStatus);
}
